Skip to main content
Version: 1.8 Forge

Bite-able Creatures & Blood Grinder

In Vampirism, you can bite several creatures to get blood.
Sometimes they even become vampires and act different. The blood grinder can be used to extract blood out of some items.

Dynamically calculated entity values

Values for unknown animals (instanceof AnimalEntity) are dynamically calculated during runtime.
Thereby creatures from most other mods should be biteable.
The values are calculated based on the entities (collision box) size. However, there is a minimum size requirement for making a creature biteable. Also, the values are capped at a certain values and set lower slightly than the hardcoded values to avoid exploits.

Value are indirectly synced between server and client and also stored with the entity itself (so changed values only affect newly spawned creatures).

Dynamically calculated values are saved to and loaded from (world/vampirism/dynamic-blood-values.txt).

Adjusting the values / Adding new biteable creatures / Preventing dynamic calculation

Defining such values are done by data packs

Adding a new convertible creature

If you want a certain creature to be convertible to a vampire version, follow these instructions. You first need to create a overlay image. It has to have the size of entity's texture and has to be see-though. Anything in this image will be rendered over the original entity texture.
Example (Cow): Image

  • First get the texture of the creature (either it is available e.g. on Github, or you have to open the mod file (as zip, e.g. using 7zip, or by changing the file ending to .zip) and navigate to 'resources/assets...').
  • Then the file with an image tool that supports layers (e.g. GIMP or Photoshop). Create a new transparent layer and draw the 'converted changes' (e.g. red eyes) into this layer.
  • Afterwards make the base layer invisible and only export your own drawings. Send the image to me (vampirism@maxanier.de)
  • If you want to test how it looks in-game beforehand, you can save the complete image (with base layer) and put it into a resource pack (at the same path as you found it in the mod's file).

Then contact the mod authors of Vampirism (e.g. send the image to vampirism@maxanier.de). If you are a mod author consider making your modded creatures convertible using the API.